package chap02.exam;

public class DataOnly {

	int i;
	double d;
	
	public DataOnly() {}
	
	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	public double getD() {
		return d;
	}

	public void setD(double d) {
		this.d = d;
	}

	public String toString() {
		return "i=" + i + ", d=" + d;
	}
}
